package org.jeecg.modules.demo.sopayorder.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.demo.sopayorder.entity.SoPayorder;

import java.util.List;
import java.util.Map;

/**
 * @Description: so_payorder
 * @Author: jeecg-boot
 * @Date:   2021-12-18
 * @Version: V1.0
 */
public interface ISoPayorderService extends IService<SoPayorder> {
    public String getMaxCode();

    public List<String> selectByPuiNo(String puiNo);

    public boolean delPayOrder(SoPayorder soPayorder);

    public boolean editPayOrder(SoPayorder soPayorder,String precode);

    public boolean addSoPayOrder(SoPayorder soPayorder,String precode);

    public double getSumJe(String str);

    public double getQCyfSumJe(String str);

    public Map<String,Double> getNumAndMoney();

    public Map<String,Double> getSktOrderNumAndMoney();

    public SoPayorder getBySopNo(String no);

    public boolean checkSoPayOrder(SoPayorder soPayorder);

    public List<SoPayorder> getByQcyfOrder(String order);

    IPage<SoPayorder> pageList(Page<SoPayorder> page, QueryWrapper<SoPayorder> queryWrapper);

}
